package com.wang.boot1.service.impl;

import com.wang.boot1.entity.Item;
import com.wang.boot1.mapper.ItemMapper;
import com.wang.boot1.service.IItemService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.logging.log4j.util.Strings;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author wang
 * @since 2021-11-26
 */
@Service
public class ItemServiceImpl extends ServiceImpl<ItemMapper, Item> implements IItemService {
    @Autowired
    ItemMapper itemMapper;

    public void selectById() {
        Item item = itemMapper.selectById(10);
        System.out.println(item);
    }

}
